micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[common]onAbsent
common
on
Absent
fun <
T
>
Optional
<
T
>.
onAbsent
(block: () ->
Unit
):
Optional
<
T
>
Content copied to clipboard
Will call
block
when data absent (
Optional.dataPresented
== false)